<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="./node_modules/jquery/dist/jquery.min.js"></script>
    
</head>
<body>
    
    <div class="card border">
        <div class="card-body">
            <h4 class="card-title bg-primary">hello world!!</h4>
            <p class="card-text">
                We are using Node.js <span id="node-version"></span>,
                Chromium <span id="chrome-version"></span>,
                and Electron <span id="electron-version"></span>.
                <div id="holder" style="border: 1px solid;width: 200px;height:200px;">
                    Drag your file here
                </div>
            </p>
        </div>
    </div>

    <div class="card-deck">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title bg-primary">test webview</h4>
                <p class="card-text">
                    <webview src="https://cn.bing.com/" style="display:inline-flex; width:300px; height:300px"></webview>
                </p>
            </div>
        </div>
    </div>
    
    <ul class="nav justify-content-center">
        <li class="nav-item">
            <a href="javascript:void(0)" class="nav-link" onclick="electron_test.test_open_a_browser_win()">open a BrowserWindow</a>
        </li>
        <li class="nav-item">
            <a id="open_dialog_link" class="nav-link" href="javascript:void(0)">open a dialog</a>
        </li>
    </ul>

    <script src="./renderer.js"></script>

</body>
</html>
    